/*
@data
<textarea style="display:none;" id="mol">50

C         -4.70712       -6.95903        1.24283
C         -3.24579       -6.94554        0.76348
C         -5.42206       -5.70591        0.71820
C         -1.03823       -8.21322       -0.75295
C         -3.95565       -5.70790       -1.29196
C         -3.22983       -6.96384       -0.77715
C         -5.42106       -5.71453       -0.81858
C         -2.51981       -8.20289        1.27509
C         -1.76803       -6.95518       -1.25921
C         -1.06369       -8.18618        0.78579
H         -4.73323       -6.95103        2.35937
C         -5.41165       -8.22925        0.73940
H         -6.47609       -5.71294        1.08816
C         -1.75981       -9.47318       -1.26053
C         -3.94623       -8.23340       -1.27729
C         -6.12633       -6.98369       -1.32612
H         -2.52527       -8.20691        2.39192
C         -3.24121       -9.46438        0.77200
H         -1.75708       -6.95837       -2.37501
H         -0.53800       -9.08775        1.18370
C         -5.41251       -8.24073       -0.80163
C         -3.21673       -9.49251       -0.76871
H         -1.73556       -9.50094       -2.37476
H         -1.22774      -10.38500       -0.90231
C         -3.93969      -10.75330       -1.27779
H         -3.93171       -8.23709       -2.39313
C         -6.11780       -9.51160       -1.31061
H         -6.13699       -6.99138       -2.44089
H         -7.18998       -6.98570       -0.99222
H         -6.46420       -8.23081        1.11299
C         -4.69852       -9.48715        1.26245
H         -2.71380      -10.36500        1.16967
C         -5.39402      -10.75970       -0.78261
C         -5.41081      -10.75000        0.75347
H         -7.18179       -9.52126       -0.97625
H         -6.13001       -9.52465       -2.42580
H         -3.91940      -10.78510       -2.39248
H         -3.41383      -11.66930       -0.91929
H         -5.91194      -11.67800       -1.15585
H         -4.90566      -11.66260        1.14966
H         -6.46199      -10.77550        1.12679
H         -4.71628       -9.48907        2.38001
H         -3.93865       -5.71442       -2.40768
H         -2.75623       -6.06988        1.13558
H         -4.91665       -4.82872        1.06461
H         -0.03010       -8.22932       -1.11116
H         -3.46482       -4.83552       -0.91389
H         -5.93805       -4.85857       -1.19930
H         -1.27595       -6.08352       -0.88112
H         -0.57470       -7.29915        1.13071
</textarea>
*/

viewer.addModel($('#mol').val(),'xyz');
viewer.setStyle({'sphere':{radius:0.5,opacity:.9},'stick':{opacity:.9}});

viewer.selectedAtoms().forEach(atom => {
viewer.addLabel(atom.serial, {fontSize: 11.5, inFront: true,backgroundOpacity: .9,borderColor:'white',borderThickness:2,backgroundColor:'blue'}, {serial: atom.serial});
});


viewer.zoomTo()
viewer.render()
